package com.auto.learning.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.auto.learning.store.core.BaseModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "book")
public class BookBean extends BaseModel<BookBean, Integer> implements Serializable {

	private static final long serialVersionUID = 1L;
	@DatabaseField(id = true, generatedId = false)
	protected int bookId; // 书的id
	@DatabaseField
	protected String faceImg; // 封面
	@DatabaseField
	protected String nationImg; // 国旗
	@DatabaseField
	protected String bookName; // 书名
	@DatabaseField
	protected String slogan; // 宣言
	@DatabaseField
	protected String listenNum; // 收听数
	@DatabaseField
	private String favorNum; // 收藏数
	@DatabaseField
	protected String commentNum; // 评论数
	@DatabaseField
	protected int proSize; // 专业播音总大小
	@DatabaseField
	protected int doubiSize; // 逗比播音总大小
	@DatabaseField
	protected int enSize; // 英文播音总大小
	@DatabaseField
	protected String about;
	@DatabaseField
	protected String goldWord;
	@DatabaseField
	protected String author;
	@DatabaseField
	protected int isFavor;
	@DatabaseField
	protected String faceImgPlay;
	@DatabaseField
	protected Date createTime;
	@DatabaseField
	protected int isRead;
	@DatabaseField
	protected int isNew;
	@DatabaseField
	protected int canRead = 2;//是否阅读模式
	@DatabaseField
	protected int free; //是否免费
	@DatabaseField
	protected String priceTag; // 价格
	@DatabaseField
	protected int needBuy; //是否需要购买
	
	private List<SelectionVo> sectionList; // 段落列表
	
	public int getFree() {
		return free;
	}

	public void setFree(int free) {
		this.free = free;
	}

	public String getPriceTag() {
		return priceTag;
	}

	public void setPriceTag(String priceTag) {
		this.priceTag = priceTag;
	}

	public int getNeedBuy() {
		return needBuy;
	}

	public void setNeedBuy(int needBuy) {
		this.needBuy = needBuy;
	}

	public int getCanRead() {
		return canRead;
	}

	public void setCanRead(int canRead) {
		this.canRead = canRead;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getIsNew() {
		return isNew;
	}

	public void setIsNew(int isNew) {
		this.isNew = isNew;
	}

	public int getIsRead() {
		return isRead;
	}

	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getFaceImgPlay() {
		return faceImgPlay;
	}

	public void setFaceImgPlay(String faceImgPlay) {
		this.faceImgPlay = faceImgPlay;
	}

	public int getIsFavor() {
		return isFavor;
	}

	public void setIsFavor(int isFavor) {
		this.isFavor = isFavor;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getAbout() {
		return about;
	}

	public void setAbout(String about) {
		this.about = about;
	}

	public String getGoldWord() {
		return goldWord;
	}

	public void setGoldWord(String goldWord) {
		this.goldWord = goldWord;
	}

	public BookBean() {

	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	public String getFaceImg() {
		return faceImg;
	}

	public void setFaceImg(String faceImg) {
		this.faceImg = faceImg;
	}

	public String getNationImg() {
		return nationImg;
	}

	public void setNationImg(String nationImg) {
		this.nationImg = nationImg;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getSlogan() {
		return slogan;
	}

	public void setSlogan(String slogan) {
		this.slogan = slogan;
	}

	public String getListenNum() {
		return listenNum;
	}

	public void setListenNum(String listenNum) {
		this.listenNum = listenNum;
	}

	public String getFavorNum() {
		return favorNum;
	}

	public void setFavorNum(String favorNum) {
		this.favorNum = favorNum;
	}

	public String getCommentNum() {
		return commentNum;
	}

	public void setCommentNum(String commentNum) {
		this.commentNum = commentNum;
	}

	public int getProSize() {
		return proSize;
	}

	public void setProSize(int proSize) {
		this.proSize = proSize;
	}

	public int getDoubiSize() {
		return doubiSize;
	}

	public void setDoubiSize(int doubiSize) {
		this.doubiSize = doubiSize;
	}

	public int getEnSize() {
		return enSize;
	}

	public void setEnSize(int enSize) {
		this.enSize = enSize;
	}

	public List<SelectionVo> getSectionList() {
		return sectionList;
	}

	public void setSectionList(List<SelectionVo> sectionList) {
		this.sectionList = sectionList;
	}
}
